package routers

import (
	"github.com/gin-gonic/gin"
	"project1/controllers/front"
)

func DefaultRoutersInit(r *gin.Engine) {
	defaultRouter := r.Group("/")
	{
		defaultRouter.GET("/", front.IndexController{}.Index)
		defaultRouter.GET("/news", front.IndexController{}.News)
		defaultRouter.GET("/deleteCookie", front.IndexController{}.DeleteCookie)

	}
}
